html {
	height: 100%;
        display: block;
}

body {
	background-color: #9a9a9a;
	color: black;
	font-family: Arial, Helvetica, sans-serif;
	height: 98%;
}

a:link, a:hover, a:visited {
	color: white;
        text-decoration: none;
}

#outer {
	margin-left: auto;
        margin-right: auto;
	width: 800px;
	height: 100%;
        display: block;
	background-color: #efefef;
	border-radius: 5px;
}

#header {
	float: right;
	position: relative;
	top: -20px;
	padding: 0px 15px 0px 10px;
}

#header .caps {
	font-weight: bold;
	font-size: 1.4em;
}

#header p {
	display: inline-block;
        color: white;
}

#navigation {
	background-color: black;
        border-radius: 5px;
	width: 780px;
	height: 30px;
	padding: 15px 10px 20px 10px;
}

#navigation p {
        color: white;
        font-size: 0.8em;
        position: relative;
        top: -10px;
        padding-left: 5px; 
}

#navigation a.mainLink {
	width: 70px;
	border-radius: 4px;
	color: black;
	font-size: 0.8em;
	display: inline-block;
	background-color: white;
	padding: 2px 10px 2px 10px;
	margin: 2px;
}

#navigation a:hover {
	font-weight: bold;
}

#navigation a.logout {
        text-decoration: underline;
}

#loginForm, #registerForm {
        width: 400px;
        text-align: center;
        color: white;
        border-radius: 5px;
        background-color: black;
        padding: 15px;
        margin: 0px auto 0px auto;
}

#loginForm label, #registerForm label {
    font-size: 0.8em;
}

#loginForm form, #registerForm form {
    font-size: 0.9em;
    position: relative;
    left: -20px;
}

#loginForm a {
    background-color: white;
    color: black;
    font-size: 0.8em;
    padding: 2px;
    width: 120px;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
}

#loginForm p, #registerForm p {
    font-size: 0.8em;
}

#loginForm #submit, #registerForm #submit {
    width: 124px;
    height: 26px;
}

#loginForm a:hover {
    font-weight: bold;
}

#vertTable {
    height: 75%;
    width: 100%;
}

#vertTable td {
    vertical-align: middle;
}

#content {
    width: 700px;
    color: black;
    padding-bottom: 5%;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #efefef;
    font-size: 0.8em;
    border-radius: 5px;
}

#content a.friendLink, a.requestLink, a.pageLink {
    color: black;
    font-size: 1.0em;
    
}

#content a.requestLink, a.pageLink {
    font-weight: bold;
    display: block;
    border: 1px solid black;
    border-radius: 4px;
    margin: 2px;
    width: 110px;
    padding: 2px;
    background-color: white;
}

#content ul {
    list-style-type: circle;
}

#content ul ul {
    list-style-type: none;
}

#content table {
    width: 100%;
}

#friendsBlock, #friendFinder, #friendsPending, #friendsIncoming {
    vertical-align: top;
    width: 50%;
}

#friendsBlock ul li.friendElement {
    background-color: lightgray;
    border: 1px solid black;
    border-radius: 3px;
    display: inline-block;
    padding: 3px 4px 3px 4px;
    margin: 3px;
    width: 250px;
}

#friendsBlock ul li.friendElement:hover, #friendFinder ul li.searchElement:hover {
    border: 2px solid black;
}

#friendFinder ul {
    list-style-type: none;
}

#friendFinder a.pageLink {
    margin-top: 20px;
    display: inline-block;
}

#friendFinder ul li.searchElement a.requestLink {
    background-color: white;
}

#friendFinder ul li.searchElement {
    background-color: lightgray;
    border: 1px solid black;
    border-radius: 3px;
    display: inline-block;
    padding: 3px 4px 0px 4px;
    margin: 3px;
    width: 250px;
}

#friendFinder #submit {
    width: 100px;
}

#content #stream {
    list-style-type: none;
}

#content #stream li.streamElement {
    width: 400px;
    background-color: lightgray;
    border: 1px solid black;
    border-radius: 3px;
    margin: 3px;
    padding: 3px 4px 3px 4px;
}

#content #stream li.streamElement:hover {
    border: 2px solid black;
}

span.streamDate {
    display: inline-block;
    padding-top: 2px;
    padding-left: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

li.streamElement span.streamMessage {
    font-size: 0.8em;
}

#friendsIncoming a.requestLink {
    width: 60px;
    display: inline-block;
}

#postForm textarea
{
    margin-top: 5px;
    width: 400px;
    height: 80px;
}

#postForm label
{
    font-weight: bold;
}